<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt"%>
<%@ taglib prefix="wr_fn" uri="http://njo.org/taglib/functions"%>

<div class="menuheader">
  工程:<select><option>创建模块</option><option>创建维护Pattern</option><option>创建检索Pattern</option></select>
</div>
<menu compact>
</menu>

<div class="menuheader">
  <a title="数据字典">数据字典</a>
</div>
<menu compact>
  <li><a title="基本类型" href="${pageContext.request.contextPath}/processor.listfield.tiles">基本类型</a></li>
  <li><a title="复杂类型" href="${pageContext.request.contextPath}/processor.listfieldset.tiles">复杂类型</a></li>
</menu>

<c:if test="${wr_fn:isUserInRole(pageContext.request, 'admin')}">
<div class="menuheader">
  <a href="${pageContext.request.contextPath}/generator.tiles" title="生成工具">生成工具</a>
</div>
<menu compact>
  <li><a title="Pattern - 数据维护" href="${pageContext.request.contextPath}/processor.dts.gt.listmaintenance.tiles">Pattern - 维护</a></li>
  <li><a title="Pattern - 数据查询" href="${pageContext.request.contextPath}/processor.listaction.tiles">Pattern - 查询</a></li>
  <li><a title="SQL.DDL" href="${pageContext.request.contextPath}/processor.dts.gt.sql.listddl.tiles">SQL.DDL</a></li>
</menu>
</c:if>
